package models;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;

import net.sf.oval.constraint.Size;
import play.data.validation.Required;
import play.db.jpa.Model;

@Entity
public class TimeTracking extends Model{

    @Size(max = 250)
    private String name;

    @Required
    private Date created_at;

    @Required
    private Double hours;

    private String notes;

    private Boolean payed;

    private Boolean billed;

//    @ManyToOne
//    private Business business;
//    @ManyToOne
//    private User user;
}
